package com.jxzt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * @author wenping
 * @create 2021-12-01 17:00
 */
@Controller
public class SysController {
    @RequestMapping("/{path}")
    public String doPath1(@PathVariable("path") String path){
        return path;
    }

    /**
     * 客户服务中心
     * @param path
     * @return
     */
    @RequestMapping("/cus_server/{path}")
    public String doPath2(@PathVariable("path") String path){
        return "/cus_server/"+path;
    }

    @RequestMapping("/cus_server/cus/{path}")
    public String doPath2_1(@PathVariable("path") String path){
        return "/cus_server/cus/"+path;
    }

    @RequestMapping("/cus_server/order/{path}")
    public String doPath2_2(@PathVariable("path") String path){
        return "/cus_server/order/"+path;
    }

    @RequestMapping("/cus_server/emp/{path}")
    public String doPath2_3(@PathVariable("path") String path){
        return "/cus_server/emp/"+path;
    }

    /**
     * 调度中心
     * @param path
     * @return
     */
    @RequestMapping("/sch_hub/{path}")
    public String doPath3(@PathVariable("path") String path){
        return "/sch_hub/"+path;
    }

    /**
     * 分站管理
     * @param path lzf
     * @return     */

    @RequestMapping("/sub_dept/{path}")
    public String doPath4(@PathVariable("path") String path){
        return "/sub_dept/"+path;
    }

    @RequestMapping("/sub_dept/task_query/{path}")
    public String doPath4_1(@PathVariable("path") String path){
        return "/sub_dept/task_query/"+path;
    }

    @RequestMapping("/sub_dept/print_task_sign_form/{path}")
    public String doPath4_2(@PathVariable("path") String path){
        return "/sub_dept/print_task_sign_form/"+path;
    }

    @RequestMapping("/sub_dept/pay_query/{path}")
    public String doPath4_3(@PathVariable("path") String path){
        return "/sub_dept/pay_query/"+path;
    }

    @RequestMapping("/sub_dept/invoice_manage/{path}")
    public String doPath4_4(@PathVariable("path") String path){
        return "/sub_dept/invoice_manage/"+path;
    }

    /**
     * 库房管理
     * @param path
     * @return
     */
    @RequestMapping("/depot_manage/{path}")
    public String doPath5(@PathVariable("path") String path){
        return "/depot_manage/"+path;
    }

    @RequestMapping("/depot_manage/in/{path}")
    public String doPath5_1(@PathVariable("path") String path){
        return "/depot_manage/in/"+path;
    }

    @RequestMapping("/depot_manage/out/{path}")
    public String doPath5_2(@PathVariable("path") String path){
        return "/depot_manage/out/"+path;
    }

    @RequestMapping("/depot_manage/depart/{path}")
    public String doPath5_3(@PathVariable("path") String path){
        return "/depot_manage/depart/"+path;
    }

    @RequestMapping("/depot_manage/get/{path}")
    public String doPath5_4(@PathVariable("path") String path){
        return "/depot_manage/get/"+path;
    }

    @RequestMapping("/depot_manage/back/{path}")
    public String doPath5_5(@PathVariable("path") String path){
        return "/depot_manage/back/"+path;
    }

    /**
     * 配送中心
     * @param path
     * @return
     */
    @RequestMapping("/dist_hub/{path}")
    public String doPath6(@PathVariable("path") String path){
        return "/dist_hub/"+path;
    }

    /**
     * 财务管理
     * @param path
     * @return
     */
    @RequestMapping("/finance_manage/{path}")
    public String doPath7(@PathVariable("path") String path){
        return "/finance_manage/"+path;
    }
}
